<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>



<style type="text/css">


#divX {
  width:100px;
	height:100px;
	margin: 20px;
	padding: 20px;
	border: 10px solid black;
	background-color: pink;


}
/*

盒模型大小计算:   pading + border+ width或height
具体点, 如 盒宽度=padding-left + padding-right + border-right-width + border-left-width + width;


*/
</style>

</head>
	<body>


<div id="divX">


</div>
	</body>
</html>
